//
//  JGSettingLabelItem.m
//  WangYLottery
//
//  Created by JJetGu on 15/8/23.
//  Copyright (c) 2015年 JJetGu. All rights reserved.
//

#import "JGSettingLabelItem.h"
#import "JGSaveTool.h"

@implementation JGSettingLabelItem

-(void)setText:(NSString *)text
{
    _text = text;
    
    [JGSaveTool setObject:text forKey:self.title];
}

-(void)setTitle:(NSString *)title
{
    [super setTitle:title];
    
    _text = [JGSaveTool objectForKey:self.title];
}

@end
